local skill = fk.CreateSkill({
  name = "level2__zunzheng",
})

skill:addEffect("active", {
  anim_type = "offensive",
  card_num = 0,
  target_num = 1,
  can_use = function(self, player)
    return player:usedSkillTimes(skill.name, Player.HistoryPhase) == 0
  end,
  card_filter = Util.FalseFunc,
  target_filter = function(self, player, to_select, selected)
    return #selected == 0 and to_select ~= player and player:canPindian(to_select)
  end,
  on_use = function(self, room, effect)
    local player = effect.from
    local target = effect.tos[1]
    local pindian = player:pindian({target}, skill.name)
    local from, to
    if pindian.results[target].winner == player then
      from, to = player, target
    elseif pindian.results[target].winner == target then
      from, to = target, player
    end
    if to and not to.dead then
      room:damage{
        from = from,
        to = to,
        damage = 1,
        skillName = skill.name,
      }
    end
  end,
})

Fk:loadTranslationTable {
["level2__zunzheng"] = "尊正",
[":level2__zunzheng"] = "出牌阶段限一次，你可以与一名其他角色拼点，赢的角色对没赢的角色造成一点伤害。",
["$level2__zunzheng1"] = "二臣恭奉，以迎皇嗣。",
["$level2__zunzheng2"] = "奉旨典选，以迎忠良。",
}
return skill  --不要忘记返回做好的技能对象哦